package cn.com.thingo.shyintelligent.model.bean;

import java.util.List;

public class GatewayDetailBean {

    /**
     * code : 0
     * msg :
     * data : {"id":1,"title":"办公室","number":"100B0000106C","username":"admin","password":"admin","creator":2,"userId":"2,3","description":null,"createTime":1548149101000,"updateTime":1551947036000,"status":false,"users":[{"uid":2,"phone":"17693109997","status":"2","img":null}]}
     */

    private int code;
    private String msg;
    private  DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 1
         * title : 办公室
         * number : 100B0000106C
         * username : admin
         * password : admin
         * creator : 2
         * userId : 2,3
         * description : null
         * createTime : 1548149101000
         * updateTime : 1551947036000
         * status : false
         * users : [{"uid":2,"phone":"17693109997","status":"2","img":null}]
         */

        private int id;
        private String title;
        private String number;
        private String username;
        private String password;
        private int creator;
        private String userId;
        private String description;
        private long createTime;
        private long updateTime;
        private boolean status;
        private List<UsersBean> users;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getNumber() {
            return number;
        }

        public void setNumber(String number) {
            this.number = number;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public String getPassword() {
            return password;
        }

        public void setPassword(String password) {
            this.password = password;
        }

        public int getCreator() {
            return creator;
        }

        public void setCreator(int creator) {
            this.creator = creator;
        }

        public String getUserId() {
            return userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }

        public Object getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public long getCreateTime() {
            return createTime;
        }

        public void setCreateTime(long createTime) {
            this.createTime = createTime;
        }

        public long getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(long updateTime) {
            this.updateTime = updateTime;
        }

        public boolean isStatus() {
            return status;
        }

        public void setStatus(boolean status) {
            this.status = status;
        }

        public List<UsersBean> getUsers() {
            return users;
        }

        public void setUsers(List<UsersBean> users) {
            this.users = users;
        }

        public static class UsersBean {
            /**
             * uid : 2
             * phone : 17693109997
             * status : 2
             * img : null
             */

            private int uid;
            private String phone;
            private String status;
            private Object img;

            public int getUid() {
                return uid;
            }

            public void setUid(int uid) {
                this.uid = uid;
            }

            public String getPhone() {
                return phone;
            }

            public void setPhone(String phone) {
                this.phone = phone;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public Object getImg() {
                return img;
            }

            public void setImg(Object img) {
                this.img = img;
            }
        }
    }
}
